<!DOCTYPE html>
<html>
	<head>
		<meta charset="UTF-8">
		<title>积分平台</title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1, user-scalable=no">
		<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0, user-scalable=0">
        <meta name="apple-mobile-web-app-capable" content="yes">
        <meta name="apple-mobile-web-app-status-bar-style" content="black">
		<link rel="stylesheet" type="text/css" href="__INDEX__/mui/css/mui.min.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/iconfont.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/common.css"/>
		<link rel="stylesheet" type="text/css" href="__INDEX__/css/convertibility.css"/>
		<script src="__INDEX__/js/lib/font.js" type="text/javascript" charset="utf-8"></script>
	</head>
	<body >
	<input type="text" id="types" style="display: none" value="{$voucher['id']}">
		<div class="head">
			<header class="mui-bar mui-bar-nav">
		        <a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
		        <h1 class="mui-title">兑换{$voucher['voucher_name']}</h1>
		    </header>
		    <div class="myInfo">
		    	<div class="head-portrait">
	        		<!--<span class="portrait-name" style="">{$user['nickname']}</span>-->
					{if $user['portrait']}
					<img src="{:getImg($user['portrait'])}" width="100%" style="border-radius: 50%"/>
					{else}
					<img src="__INDEX__/images/touxiang.jpg" width="100%" style="border-radius: 50%"/>
					{/if}
	        	</div>
	        	<p>我的积分： <span>{$user['integral']}</span>分</p>
		    </div>
		</div>
	   
	    <div class="mui-content">
	    	<div class="modular" >
	    		<div class="top-title">
					<p class="riqi">时间</p>
					<p class="integral">兑换分数</p>
					<p class="choice">选择兑换</p>
				</div>
				<div id="wrapper" class="scrollCont">
		    		<div class="cont" id="scroller">
		    			<ul>
							{foreach $data as $value}
		    				<li>
		    					<div class="dateContent">
		    						<p class="dateTimeCont">
		    							{$value['create_time']|date='d日 H:i'}
		    						</p>
		    						<p class="integralCont">
		    							<img src="__INDEX__/images/jifen2.png"><span>{$voucher['required_integral']}分</span>
		    						</p>
		    						<p class="choiceCont">
		    							<i class="xuanzhong iconfont" dataid="{$value['id']}">&#xe83b;</i>
		    						</p>
		    					</div>
		    				</li>
		    				{/foreach}
		    			</ul>
		    		</div>
	    		</div>
	    		<div class="date-footer">
	    			<button class="btn mui-btn mui-btn-block">确当发送</button>
	    		</div>
	    	</div>
	    </div>
		<script src="__INDEX__/js/lib/zepto.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/mui/js/mui.min.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/mui/js/mui.view.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/layer_mobile/layer.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/common.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/lib/iscroll.js" type="text/javascript" charset="utf-8"></script>
		<script src="__INDEX__/js/convertibility.js" type="text/javascript" charset="utf-8"></script>
	</body>
</html>
